package cn.easyshipping.cloud.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 航线表
 * </p>
 *
 * @author sunyongqiang
 * @since 2020-01-13
 */
public class BRoute implements Serializable {

    /**
     * 标识
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 航线中文名
     */
    @TableField("NAME_CN")
    private String nameCn;

    /**
     * 航线英文名
     */
    @TableField("NAME_EN")
    private String nameEn;

    /**
     * 航线编码
     */
    @TableField("CODE")
    private String code;

    /**
     * 所属公司
     */
    @TableField("COMPANY_ID")
    private Integer companyId;

    /**
     * 创建人ID
     */
    @TableField("CREATE_ID")
    private Integer createId;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    /**
     * 修改人ID
     */
    @TableField("UPDATE_ID")
    private Integer updateId;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    /**
     * 删除状态(0:未删除 1:删除)
     */
    @TableField("REMOVE")
    private Integer remove;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 排序
     */
    @TableField("SEQ_NO")
    private Integer seqNo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNameCn() {
        return nameCn;
    }

    public void setNameCn(String nameCn) {
        this.nameCn = nameCn;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getRemove() {
        return remove;
    }

    public void setRemove(Integer remove) {
        this.remove = remove;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }

    @Override
    public String toString() {
        return "BRoute{" +
            "id=" + id +
            ", nameCn=" + nameCn +
            ", nameEn=" + nameEn +
            ", code=" + code +
            ", companyId=" + companyId +
            ", createId=" + createId +
            ", createTime=" + createTime +
            ", updateId=" + updateId +
            ", updateTime=" + updateTime +
            ", remove=" + remove +
            ", remark=" + remark +
            ", seqNo=" + seqNo +
        "}";
    }
}
